home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Shout3Ddemo / S3D_2E1.exe / Shout3d_runtime / codebase / models / animTests / sampled_tcb_boxes.s3d < prev    next >
Text File  |  2000-05-30  |  4KB  |  123 lines

  1. DEF world-TIMER TimeSensor {
  2.     loop TRUE
  3.     cycleInterval 3.333
  4. }
  5. DEF Box01 Transform {
  6.     translation -39.25 0 99.57
  7.     children [
  8.         Transform {
  9.             translation -60.75 0 0.4343
  10.             children [
  11.                 Shape {
  12.                     appearance [
  13.                         MultiAppearance {
  14.                             material Material {
  15.                                 diffuseColor 0.6039 0.6039 0.898
  16.                             }
  17.                         }
  18.                     ]
  19.                     geometry MultiMesh {
  20.                         coord Coordinate {
  21.                             point [
  22.                                 -15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
  23.                             ]
  24.                         }
  25.                         coordIndex [
  26.                             0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  27.                             2 0 4 -1 4 6 2 -1
  28.                         ]
  29.                         edgeVisibleIndex [
  30.                             1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1
  31.                             1 1 0 -1 1 1 0 -1
  32.                         ]
  33.                         smoothingIndex [
  34.                             2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  35.                         ]
  36.                         appearanceIndex [
  37.                             1 1 0 0 4 4 3 3 5 5 2 2
  38.                         ]
  39.                         textureMappings [
  40.                         ]
  41.                     }
  42.                 }
  43.                 DEF Box01-POS-INTERP PositionInterpolator {
  44.                     key [
  45.                         0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9
  46.                         0.95 1
  47.                     ]
  48.                     keyValue [
  49.                         -39.25 0 99.57 -57.16 0 39.73 -69.9 0 -9.797 -76.16 0 -47.43 -76.21 0 -73.49
  50.                         -71.35 0 -89.56 -63.44 0 -97.92 -54.55 0 -101.1 -46.61 0 -101.4 -41.17 0 -100.8 -39.25 0 -100.4
  51.                         -37.51 0 -100.1 -32.38 0 -99.25 -24.16 0 -97.71 -13.29 0 -95.46 -0.3166 0 -92.42 14.17 0 -88.48
  52.                         29.64 0 -83.58 45.72 0 -77.65 62.33 0 -70.68 79.85 0 -62.73
  53.                     ]
  54.                 }
  55.                 ROUTE world-TIMER.fraction_changed TO Box01-POS-INTERP.set_fraction
  56.                 ROUTE Box01-POS-INTERP.value_changed TO Box01.set_translation
  57.                 DEF Box01-ROT-INTERP OrientationInterpolator {
  58.                     key [
  59.                         0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9
  60.                         0.95 1
  61.                     ]
  62.                     keyValue [
  63.                         0 1 0 0 0 1 0 -0.1611 0 1 0 -0.3299 0 1 0 -0.503 0 1 0 -0.6772 0 1 0 -0.8492
  64.                         0 1 0 -1.016 0 1 0 -1.174 0 1 0 -1.319 0 1 0 -1.45 0 1 0 -1.562 0 1 0 -1.653 0 1 0 -1.726
  65.                         0 1 0 -1.784 0 1 0 -1.829 0 1 0 -1.866 0 1 0 -1.897 0 1 0 -1.926 0 1 0 -1.957 0 1 0 -1.991
  66.                         0 1 0 -2.033
  67.                     ]
  68.                 }
  69.                 ROUTE world-TIMER.fraction_changed TO Box01-ROT-INTERP.set_fraction
  70.                 ROUTE Box01-ROT-INTERP.value_changed TO Box01.set_rotation
  71.             ]
  72.         }
  73.         DEF Box02 Transform {
  74.             translation 48.02 0 -45.1
  75.             children [
  76.                 Shape {
  77.                     appearance [
  78.                         MultiAppearance {
  79.                             material Material {
  80.                                 diffuseColor 0.3451 0.7804 0.8824
  81.                             }
  82.                         }
  83.                     ]
  84.                     geometry MultiMesh {
  85.                         coord Coordinate {
  86.                             point [
  87.                                 -15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
  88.                             ]
  89.                         }
  90.                         coordIndex [
  91.                             0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  92.                             2 0 4 -1 4 6 2 -1
  93.                         ]
  94.                         edgeVisibleIndex [
  95.                             1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1
  96.                             1 1 0 -1 1 1 0 -1
  97.                         ]
  98.                         smoothingIndex [
  99.                             2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  100.                         ]
  101.                         appearanceIndex [
  102.                             1 1 0 0 4 4 3 3 5 5 2 2
  103.                         ]
  104.                         textureMappings [
  105.                         ]
  106.                     }
  107.                 }
  108.             ]
  109.         }
  110.     ]
  111. }
  112. DEF Camera01 Viewpoint{
  113.     position 2.983 113.4 362.3
  114.     orientation 0.9614 -0.2725 -0.03926 -0.2975
  115.     fieldOfView 0.6024
  116.     description "Camera01"
  117. }
  118. DEF Camera01.Target Transform {
  119.     translation -28.44 0 -21.85
  120.     children [
  121.     ]
  122. }
  123.